<template>
  <div class="app-container">
    <h3>页面权限</h3>
    <p>当前用户角色: {{ roles }}</p>
  </div>
</template>

<script setup lang="ts">
import { useUserStore } from '@/store/user'

const userStore = useUserStore()
const roles = userStore.roles
</script>

<style lang="scss" scoped>
.app-container {
  padding: 20px;
}
</style> 